package io.gitee.devaper.starlight.module.room.websocket.event.server

import com.fasterxml.jackson.annotation.*

enum class VideoState(@JsonValue val value: Int) {
    PLAY(1),
    PAUSE(2),
    STOP(3)
}

data class VideoStateServerEventDetails(
    val operator: Long,
    val state: VideoState
) : ServerEventDetails {
    override fun eventType(): String = "video.state"
}
